package com.nicefact.mailmonitor.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nicefact.mailmonitor.dao.AppAdminDao;
import com.nicefact.mailmonitor.entity.AppAdmin;

@Service
public class AppAdminService {
	
	@Autowired
	AppAdminDao appAdminDao;
	
	public AppAdmin save(AppAdmin appAdmin){
		return appAdminDao.save(appAdmin);
	}
	
	public AppAdmin get(String email){
		return appAdminDao.get(email);
	}
	
}
